package com.group.www.dao.impl;

import com.group.www.pojo.AddressInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface AddressInfoDao {
    public List<AddressInfo> queryAddressInfoByuserId(Integer userId);
    public boolean add(AddressInfo addressInfo);
    public boolean update(AddressInfo addressInfo);
    public boolean deleteAddressInfoByuserId(@Param(value = "userid") Integer userId, @Param(value = "addid") Integer addId);
    public List query();
}
